package com.loong.member.model;

import com.loong.common.mybatis.entity.BaseEntity;
import java.math.BigDecimal;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class Cart extends BaseEntity {
    @Column(name = "user_id")
    private Long userId;

    @Column(name = "seller_id")
    private Long sellerId;

    @Column(name = "cart_status")
    private Boolean cartStatus;

    @Column(name = "food_box_fee")
    private BigDecimal foodBoxFee;

    @Column(name = "total_price")
    private BigDecimal totalPrice;

    @Column(name = "discount_price")
    private BigDecimal discountPrice;

    @Column(name = "pay_price")
    private BigDecimal payPrice;
}